Task: Develop design and coding guidelines
Develops the topic required to be covered for the safety related application specific design and coding guidelines based upon the required ASIL.
Purpose
To ensure that the developers are working to common guidelines so that the code (or model, if using models based) is understandable and conforms to standard best practice depending upon the methods, language and process to be used.
Relationships
Main Description

The design and coding guidelines need to take a number of characteristics into account based upon the tool selection, methods used and whether a programming language or modeling language is used for the development of the software.

The topics that are highly recommended to be included in the modeling and coding guidelines for items with ASILS A, B, C or D are

Enforcement of low complexity and strong typing, use of language subsets and naming conventions.

The topics that are highly recommended for items of ASIL B,C and D and recommended for A are

use of style guides and unambiguous graphical representation.

The use of established design principles is a topic that is recommended for items with an ASIL of A,B or C and highly recommended for items with an ASIL of D

The use of defense implementation techniques is highly recommended for items with an ASIL of C or D and recommended for items with an ASIL of B.  

This is a summary of table 1 in ISO 26262 vol 6 clause 5.4.7,Table 1 — Topics to be covered by modeling and coding guidelines, the user is advised to examine the referenced clause to get the full details.

The user needs to be aware that different programming languages have different coding guidelines, the same also applies for modeling languages. It might also be necessary to modify existing guidelines for specific item development.

Properties
Predecessor
Multiple Occurrences
Event Driven
Ongoing
Optional
PlannedYes
Repeatable